package day03;

import java.util.Arrays;
import java.util.Scanner;

public class ShuZu {


public static void main(String[] args) {
	Scanner in = new Scanner(System.in);  
    
    int n = in.nextInt();  
      
    int[] A = new int[n];  
    //int[] B = {0};
    for(int i=0;i<=n;i++){  
        A[i] = in.nextInt();  
        
        System.out.print(Arrays.toString(A));
        
//    
       
    }  
    
   
    //增强for需要
    //for(int x:A){  
//      System.out.println(x);  
//    }  
    
//    while (n!=0) {
//    	 A[n] = in.nextInt();  
//    	
//		break;
//	}


}

}
